from django.conf.urls import url
from .views import *

urlpatterns = [
    # 图片验证码的url
    url(r'image_codes/(?P<image_code_id>[\w-]+)/$',ImageCodeView.as_view()),
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$',SmsVerificationView.as_view()),
    ]
